<!---->
<template>
    <div>
         <!-- 面包屑导航 -->
            <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/index' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>学员管理</el-breadcrumb-item>
            </el-breadcrumb>
             <div style="margin: 10px auto;"></div>
   <el-button type="danger" size="mini"  @click="findData()">刷新</el-button>

              <el-table size="small"  style="width: 100%" :data="listData" highlight-current-row v-loading="loading"  element-loading-text="拼命加载中" >
                
                <el-table-column
                    width="200"
                prop="createTime"
                label="评价时间">
                </el-table-column>

                

            

                <el-table-column
                    width="100"
                prop="message"
                label="内容">
                </el-table-column>

                 <el-table-column
                    width="100"
                    prop="score"
                    label="评分">
                    <template slot-scope="scope">
                        <el-rate
                        disabled
                        v-model="scope.row.score"
                        show-text>
                        </el-rate>
                    </template>
                </el-table-column>
               

            </el-table>
    </div>
</template>
<script>
export default {
    data() {
        return {
            listData:[],
            loading:false
        }
    },
    created(){
        this.findData();
    },
    methods: {
        findData(){
            this.MyLoading();
             this.$api.get("/evaluate/token/evaluateByCoach",'',res=>{
                    this.listData = res.data.data;
                   
            })
        },
         MyLoading(){
            this.loading =true;
            setTimeout(()=>{
                this.loading =false
            },500)
        },
    },
}
</script>
<style scoped>

</style>